package cn.fufeiii.bt.common.aspect.lock;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author FuFei
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "global-lock")
public class GlobalLockProperty {

    /**
     * 全局锁前缀
     */
    private String namespace = "GL";

    /**
     * 是否启用其缓存
     */
    private Boolean useFallbackMethodCache = false;

}
